package cn.tedu.vue_master.pojo.cart.dto;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel("新增购物车信息的DTO")
public class CartAddDTO implements Serializable {

    @ApiModelProperty(value = "用户id", name = "userId", example = "1")
    private Long userId;
    @ApiModelProperty(value = "skuId", name = "skuId", example = "SKU00001")
    private String skuId;
    @ApiModelProperty(value = "选择的商品数量", name = "selectNum", example = "5")
    private Integer selectNum;
    @ApiModelProperty(value = "商品单价", name = "price", example = "4999")
    private Double price;
}
